home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Gold Medal Software 3
/
Gold Medal Software - Volume 3 (Gold Medal) (1994).iso
/
prog
/
ru04.arj
/
RASTPORT.DOC
< prev
next >
Wrap
Text File
|
1994-02-10
|
5KB
|
194 lines
/////////// //////////
/// /// // /// /// //
/////////// /////// /////// /////// ////////// ////// ////// //////
/// /// // // // // /// // // // //
/// /// // // ////// // /// // // // //
/// /// // // // // /// // // // //
/// //// //////// ///// // /// ////// // //
RastPort v2.0
(c) Copyright 1993 By Blueview Software.
All Rights Reserved.
1.1 INTRODUCTION
The RastPort is an image conversion program for programmers. It allows
you to convert PCX files to a format useable by your compiler or graphics
library. The converted format (XGF) can be displayed with your compilers
PutImage function.
With the RastPort you can create XGF files from 2 to 256 colors that an
be displayed in Turbo C, QuickC, Turbo Pascal, and QuickBASIC. PCX files
can also be converted to SPR/PPR format used by the Fastgraph Library. The
RastPort can also combine and convert individual files to build a resource
file.
1.2 REQUIREMENTS
Dos 3.1 or higher
1.3 CUSTOMER SERVICE
If you have any questions, comments, or suggestions,
Blueview Software can be contacted by:
Voice - (416) 757-7944
BAUDEVILLE BBS (416) 283-0114 (Blueview Conference)
CAP/CANADA BBS (416) 287-0935 (Blueview Conference)
CAP/USA BBS (708) 854-0255 (Blueview Conference)
Shareware Conferences - RIME, INTELEC, NANET, CITY2CITY, FIDONET,
and ILINK. Leave message to NICK ONOUFRIOU.
CompuServe: >INTERNET:nick.onoufriou@rose.com
Internet: nick.onoufriou@rose.com
nick.onoufriou@bville.gts.org
Fido net-mail: 1:250/304
Surface Mail - Blueview Software
2300 Lawrence Ave. East BOX 80551
Scarborough, Ontario
CANADA M1P 2R0
NOTE: All mail _will_ be answered. If you do not receive a reply
within a few days please try again, mail does get lost.
2.1 USING RASTPORT
RASTPORT infile outfile format - To convert a single file
RASTPORT @filelist - To convert all the files in filelist
RASTPORT @reslist outfile res - To convert and create a resource file
Page 1
2.2 CONVERTING ONE FILE AT A TIME
The <infile> must be a standard PCX file containing 2-256 colors.
The <outfile> will be either XGF,RAW,SPR, or PPR depending on the
selected format.
The format must be TCx,TPx,QBx,PBx,QCx,SPR, or PPR. The x must be
substituted for the amount of colors, values can be 2,4,16, and 256.
TC16 would create an XGF file that can be displayed in the 16 color
modes using Turbo C. Use the supplied source code to display 16 and
256 color XGF files.
SPR/PPR are standard pixel run formats used by the Fastgraph library, use
the xinfo.exe utility to determine the width and run count.
2.3 CONVERTING FILES USING A LIST
Create a standard text file containing the input file, output file, and
format. To convert the files in the listfile type RASTPORT @LISTFILE
Sample LISTFILE
FILE1.PCX FILE1.XGF TC16
FILE2.PCX FILE2.XGF TC256
2.4 CREATING RESOURCE FILES
Create a standard text file containing the input file, resource id, and
format. The input file must be a PCX file in order to be converted to
another format. The resource id is a 12 letter/number identifying that
file. The format can be any of the formats listed above. If you do not
wish to convert the input file to any format simply include the word
ADD where the format should be.
To create the resource file type RASTPORT @RESLIST OUTFILE RES
The OUTFILE will be the resource file containing all the files in your
RESLIST.
Sample RESLIST
FILE1.PCX CAR TC16
FILE2.PCX BIRD TC256
FILE3.DAT DATA ADD
Page 2
2.5 REGISTERING
The Rastport is NOT free software. If you use this program you must pay
for it. Registration entitles you to a key file that deactivates the nag
screens from the current and future versions. The key file also enables
the 256 color option which is restricted in the unregistered version.
Registered users also receive BONUS programs (see BONUS.TXT.) See ORDER.TXT
and CATALOG.TXT for more information.
Page 3